//
//  InterestingPaddingBackground.swift
//  SwiftUIStacks
//
//  Created by 李煜 on 2024/7/31.
//

import SwiftUI

struct InterestingPaddingBackground: View {
    var body: some View {
      Text("hello")
        .background(.white)
//        .frame(minWidth: 0,maxWidth: .infinity)
        
        .padding()
        .background(.red)
        
        .padding()
        .background(.orange)
        
        .padding()
        .background(.blue)
        
        .padding()
        .background(.green)
    }
}

#Preview {
    InterestingPaddingBackground()
}
